package com.cys.markdown.doc.admin.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * shiro登录令牌
 */
public class ExtAuthenticationToken extends UsernamePasswordToken {

    /**
     *
     */
    private static final long serialVersionUID = -6764367468165785696L;

    /**
     * 验证ID
     */
    private String captchaId;

    /**
     * 验证码
     */
    private String captcha;

    /**
     * 操作Ip
     */
    private String host;


    public ExtAuthenticationToken(String username, String password, String host) {
        super(username, password);
        this.host = host;
    }


    public String getCaptchaId() {
        return this.captchaId;
    }

    public void setCaptchaId(String captchaId) {
        this.captchaId = captchaId;
    }

    public String getCaptcha() {
        return this.captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }


}
